mkdir -p storage/framework/sessions
mkdir -p storage/framework/cache
mkdir -p storage/framework/views
mkdir -p storage/app
mkdir -p storage/logs

cp .env.example .env

sed -i "s/APP_URL=http:\/\/localhost/APP_URL=/g" .env
php artisan key:g